

#ifndef _BUTTON_H_
#define _BUTTON_H_

#ifdef __cplusplus
extern "C" {
#endif


typedef struct {
    uint32_t last_press_time;
    uint8_t press_count;
}app_key_t;

typedef enum{
    BUTTON_EVENT_SHORT_PRESS,
    BUTTON_EVENT_LONG_PRESS,
    BUTTON_EVENT_MULTI_PRESS
}button_event_t;

void gpioInit(void);

#ifdef __cplusplus	
}
#endif
#endif

